package com.elb.sell.service;

import com.elb.sell.pojo.ProductInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ProductInfoService {
    //根据状态获取商品集合
    List<ProductInfo> findByProductStatus(Integer productStatus);
    Page<ProductInfo> findAll(Pageable pageable);
    List<ProductInfo> findAll();
    ProductInfo findOne(String id);
    ProductInfo save(ProductInfo productInfo);
}
